// src/model/word.ts
export interface Word {
  id: string;
  word: string;
  phonetic: string;
  translation: string;
  example: string;
  exampleTranslation?: string;
  soundUrl?: string;
  image?: string;
  category: string;
  difficulty: number;
  nextReviewDate: Date;
  reviewCount: number;
  correctCount: number;
  lastReviewed: Date | null;
  isMastered?: boolean;
}

export interface UserProgress {
  userId: string;
  masteredWords: string[];
  learningWords: string[];
  ignoredWords: string[];
  dailyGoal: number;
  studiedToday: number;
  streak: number;
}

